import Request from '@utils/request';

const request = new Request('/api/customer/');

export const getBalance = () => {
  return request.get(`Account/GetBalance`);
};

/**
 * 记录
 */
export const accountList = params => {
  return request.get(`Account/List`, params);
};

/**
 * 申请提现
 */
export const accountWithdrawalApply = body => {
  return request.post(`Account/WithdrawalApply`, body);
};
